<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id='test'>
        您好,{{content}},<br> <span>{{descripttion}}</span>
    </div>
    <script type="module">
        // 模块中的变量都是局部变量，不是全局变量
        import FVue from './core/index.js'
         window.test = new FVue({
             el:'test', //使用id挂载 
             data:{
                 content:'fanfan',
                 descripttion:"农夫果园",
                 obj:{
                     a:1,
                     b:2
                 },
                 list:[{name:'ff',age:20},{name:'yy',age:18}]
             }
         });
    </script>
</body>

</html>